
package com.platform.modules.mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 模块表实体
 *
 * @author
 * @date 2021-06-22 11:41:22
 */
@Data
@TableName("MALL_MODULE")
public class MallModuleEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    private String id;
    /**
     * 分类id
     */
    @ApiModelProperty(value = "分类id", hidden = true)
    private String categoryId;
    /**
     * 排序字段
     */
    @ApiModelProperty(value = "排序字段")
    private Integer sort;
    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;
    /**
     * 类型 1=上架 2=下架
     */
    @ApiModelProperty(value = "类型 1=上架 2=下架", hidden = true)
    private Integer status;
    /**
     * 跳转地址
     */
    @ApiModelProperty(value = "跳转地址")
    private String link;
    /**
     * 封面
     */
    @ApiModelProperty(value = "封面")
    private String cover;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remarks;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", hidden = true)
    private Date createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", hidden = true)
    private Date updateTime;
    /**
     * 是否首页展现，1是，2否，
     */
    @ApiModelProperty(value = "是否首页展现，1是，2否，", hidden = true)
    private Integer homepageShow;
    /**
     * 首页头部展现，填写数字越大展现越靠前
     */
    @ApiModelProperty(value = "首页头部展现，填写数字越大展现越靠前", hidden = true)
    private Integer homepageTop;
    /**
     * 小图
     */
    @ApiModelProperty(value = "小图")
    private String icon;
    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品id")
    private String goodsId;
    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品名称")
    @TableField(exist = false)
    private String goodsName;
    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品市场价格")
    @TableField(exist = false)
    private BigDecimal marketPrice;
    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品零售价")
    @TableField(exist = false)
    private BigDecimal retailPrice;
    /**
     * 商品id
     */
    @ApiModelProperty(value = "客户兑换积分")
    @TableField(exist = false)
    private BigDecimal customerIntegral;
    /**
     * 客户兑换积分
     */
    @ApiModelProperty(value = "优惠兑换积分")
    @TableField(exist = false)
    private BigDecimal discountsIntegral;
}
